TFParse Delphi Component, version 2.3 (10/5/97) All source code copyright 1996-97 Kevin L. Boylan The TFParse Delphi component makes it easy to parse words from text files, HTML files, strings, or PChars. It allows you to carefully define what makes a word and what words will be parsed. TFParse makes it easy to perform tasks like indexing words for full text search and retrieval applications. When parsing HTML the component will pass the HTML code to you through an event. It works on both Delphi 1 and Delphi 2. Source included. Example program included. Help files included. Not crippled. SHAREWARE - SWREG 12486 $12 IMPORTANT - Please be aware that starting with version 2.1, this component uses exception handling to detect when it is done parsing a file, string, or PChar. If you have 'Break on Exceptions' selected in the environment options dialog box, then the program will break into the debugger each time parsing is done on a file. If you do not want this to happen, just de-select that option. SHAREWARE - This component is now shareware. While I was distributing this component as freeware originally, in order for me to continue it's development and maintenance and to justify the time I've put into it, I'm asking that if you find it useful and are able to utilize it in your work, that you register through Compuserve (GO SWREG). I am keeping the price to a minimum as I am only trying to recoup a small amount of cost. There is nothing in the software that keeps you from running it without registering. I would just hope that if you use the component, $12 would not seem like too much to register, get on the mailing list for future upgrades and be eligible for support. FEEL FREE TO TEST THOROUGHLY AND LET ME KNOW OF ANY BUGS FIRST. REGISTRATION $12 SWREG# 12486 Just get on Compuserve, GO SWREG, and enter the number 12486. This will get you on the mailing list and I'll let you know of any upgrades to the component as they come out. Also, if you have any ideas for added features, or if you need support, just send me a message to my compuserve account, 75221.1057 (or internet at 75221.1057@compuserve.com). Component Installation: Put the Component files (FPARSE.PAS and FPARSE.DCR) into a directory where you will keep non-Borland components (If you are installing to Delphi version 1, copy FPARSE16.DCR instead and rename it to FPARSE.DCR). Then in Delphi click the Options|Install Components menu selection. Be sure that the directory with the component files is included in the 'Search Path' edit box on this screen. If not, add it. Next, click the Add button and then the Browse button and find the directory that you just copied the component's files to. Find and select the FPARSE.PAS file. Now click OK. Click OK again and the component will be compiled. You are now out of the Install Components dialog box. You will find the TFParse component has been added to the Samples pallette. Move the TFPARSE.HLP file from your component directory to your DELPHI\BIN directory. Move the TFPARSE.KWF file to your DELPHI\HELP directory. Now run the HELPINST.EXE (either double click from File Manager in the HELP directory or from the icon in Program Manager. Now, while in HELPINST, click the open file toolbar button and find and select the DELPHI.HDX file in the DELPHI\BIN directory. Then click the '+' toolbar button and find and select the TFPARSE.KWF file in the DELPHI\HELP directory. This will add the TFPARSE.KWF file to the listbox that you can see. Now click the 'Save' toolbar button and the TFPARSE help file will be registered with Delphi. You may now exit. Installing help in this way will allow you to get context sensitive help on each property and event by pressing F1 while a particular property or event is selected in the Object Inspector. Revision History version 1.0 Initial distribution version 1.1 fixed an incompatability with Delphi 2.0 version 1.2 fixed a bug with parsing of strings and PChars and added testing of those capabilities to the example program version 2.0 Added the capability to parse HTML files. version 2.1 fixed a bug with string and pchar parsing and added the Lower_Case property. version 2.2 Fixed some subtle HTML parsing bugs version 2.3 Fixed a problem with Delphi 1 and files greater than 64k in size